import logging, os


if os.environ.get('SERVER_SOFTWARE','').startswith('Devel'):
    HOST='local'
elif os.environ.get('SERVER_SOFTWARE','').startswith('Goog'):
    HOST='google'
else:
    logging.error('local or googl?')
    HOST='local'


if HOST=='local':
    SERVICESURL='services.com:8080'
    DOMAIN='mydomain.com:8080'
    TOPDOMAIN=DOMAIN
else:
    SERVICESURL='movq.net'
    DOMAIN='test.movq.net'
    TOPDOMAIN='movq.net'

COMETURL="http://comet.%s/comet" % TOPDOMAIN


TEMPLATE_DIRS = (
    '.',
    'ytalk',
    )